/**
 * 文件名称:  TBcOrgan.java
 * 文件序号:  序号
 * 内容描述:  文件简单描述，多行换行书写
 * 版权声明:  山东鸿蝶信息技术有限公司
 * 创建用户:  zhangkai
 * 创建日期:  2017/1/17 15:28
 * 修改用户:  无
 * 修改日期:  无
 * 修改说明:  无
 * 文件版本:  V1.0
 * 文件路径:
 */

package com.hongdee.rbac.dept.entity;


import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TBcOrgan
 * 类  型: class
 * 描  述: 用一句话描述类的作用
 * 路  径:com.hongdee.rbac.dept.entity
 * 作  者:zhangkai
 * 日  期:2017/1/17 15:28
 */
@Entity
@Table(name = "T_BC_ORGAN")
public class TBcOrgan extends BaseEntity {
    /**
     * o_code 组织机构编码
     */
    @Column(name = "o_code", columnDefinition = " VARCHAR(32) COMMENT '组织编码' ")
    private String oCode;
    /**
     * o_name 组织机构名称
     */
    @Column(name = "o_name", nullable = false, columnDefinition = " VARCHAR(128) COMMENT '组织名称' ")
    private String oName;
    /**
     * o_short_name 组织机构简称
     */
    @Column(name = "o_short_name", columnDefinition = " VARCHAR(64) COMMENT '组织简称' ")
    private String oShortName;
    /**
     * o_area 组织区域
     */
    @Column(name = "o_area", columnDefinition = " VARCHAR(32) COMMENT '区域编码' ")
    private String oArea;
    /**
     * 二级区域编码
     */
    @Column(name = "o_area_second", columnDefinition = " VARCHAR(32) COMMENT '二级区域编码' ")
    private String oAreaSecond;

    /**
     * o_car_brand 经营品牌
     */
    @Column(name = "o_car_brand", columnDefinition = " VARCHAR(32) COMMENT '经营品牌' ")
    private String oCarBrand;
    /**
     * o_type 组织机构类型
     */
    @Column(name = "o_type", nullable = false, columnDefinition = " VARCHAR(1) COMMENT '组织类型' ")
    private String oType;
    /**
     * o_provance 省
     */
    @Column(name = "o_provance", columnDefinition = " VARCHAR(32) COMMENT '省' ")
    private String oProvance;
    /**
     * o_city 市
     */
    @Column(name = "o_city", columnDefinition = " VARCHAR(32) COMMENT '市' ")
    private String oCity;
    /**
     * o_address 详细地址
     */
    @Column(name = "o_address", columnDefinition = " VARCHAR(512) COMMENT '详细地址' ")
    private String oAddress;
    /**
     * o_disp_order 显示顺序
     */
    @Column(name = "o_disp_order", columnDefinition = " int COMMENT '显示顺序' ")
    private Integer oDispOrder;
    /**
     * o_p_id 上线组织编码
     */
    @Column(name = "o_p_id", nullable = false, columnDefinition = " VARCHAR(32) COMMENT '上级组织机构 ID' ")
    private String oPId;
    /**
     * o_p_code 上组组织编码
     */
    @Column(name = "o_p_code", columnDefinition = " VARCHAR(32) COMMENT '上组组织编码' ")
    private String oPCode;
    /**
     * o_desc 描述
     */
    @Column(name = "o_desc", columnDefinition = " VARCHAR(512) COMMENT '组织描述' ")
    private String oDesc;

    /**

     * o_desc 状态
     */
    @Column(name = "status", columnDefinition = " VARCHAR(1) COMMENT '状态'  ")
    private String status;

    /**
     * o_phone 部门电话
     */
    @Column(name = "o_phone", columnDefinition = " VARCHAR(16) COMMENT '部门电话'  ")
    private String oPhone;
    /*
     * 录音收听地址维系属性
     */
    @Column(name = "company_ip_address", columnDefinition = " VARCHAR(16) COMMENT '录音收听地址维系属性'  ")
    private String companyIpAddress;

    /**
     * 经度
     */
    @Column(name = "longtitude", columnDefinition = " VARCHAR(32) COMMENT '经度' ")
    private String longtitude;

    /**
     * 纬度
     */
    @Column(name = "latitude", columnDefinition = " VARCHAR(32) COMMENT '纬度' ")
    private String latitude;

    /**
     * 图片
     */
    @Column(name = "pic", columnDefinition = " BLOB COMMENT '门店图片' ")
    private String pic;

    /**
     * 兼营品牌（1兼营0不兼营）
     */
    @Column(name = "run_brands", columnDefinition = " VARCHAR(1) COMMENT '兼营品牌' ")
    private String runBrands;

    /**
     * 兼修品牌（1兼修0不兼修）
     */
    @Column(name = "build_brands", columnDefinition = " VARCHAR(1) COMMENT '兼修品牌' ")
    private String buildBrands;

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(String longtitude) {
        this.longtitude = longtitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getCompanyIpAddress() {
        return companyIpAddress;
    }

    public void setCompanyIpAddress(String companyIpAddress) {
        this.companyIpAddress = companyIpAddress;
    }

    public String getoPhone() {
        return oPhone;
    }

    public void setoPhone(String oPhone) {
        this.oPhone = oPhone;
    }

    /**
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     *
     * @param status String
     */
    public void setStatus(String status) {
        this.status = status;
    }
    /**

     * @return oCode
     */
    public String getoCode() {
        return oCode;
    }

    /**
     * @param oCode String
     */
    public void setoCode(String oCode) {
        this.oCode = oCode;
    }

    /**
     * @return oName
     */
    public String getoName() {
        return oName;
    }

    /**
     * @param oName String
     */
    public void setoName(String oName) {
        this.oName = oName;
    }

    /**
     * @return oShortName
     */
    public String getoShortName() {
        return oShortName;
    }

    /**
     * @param oShortName String
     */
    public void setoShortName(String oShortName) {
        this.oShortName = oShortName;
    }

    /**
     * @return oArea
     */
    public String getoArea() {
        return oArea;
    }

    /**
     * @param oArea String
     */
    public void setoArea(String oArea) {
        this.oArea = oArea;
    }

    /**
     * @return oCarBrand
     */
    public String getoCarBrand() {
        return oCarBrand;
    }

    /**
     * @param oCarBrand String
     */
    public void setoCarBrand(String oCarBrand) {
        this.oCarBrand = oCarBrand;
    }

    /**
     * @return oType
     */
    public String getoType() {
        return oType;
    }

    /**
     * @param oType String
     */
    public void setoType(String oType) {
        this.oType = oType;
    }

    /**
     * @return oProvance
     */
    public String getoProvance() {
        return oProvance;
    }

    /**
     * @param oProvance String
     */
    public void setoProvance(String oProvance) {
        this.oProvance = oProvance;
    }

    /**
     * @return oCity
     */
    public String getoCity() {
        return oCity;
    }

    /**
     * @param oCity String
     */
    public void setoCity(String oCity) {
        this.oCity = oCity;
    }

    /**
     * @return oAddress
     */
    public String getoAddress() {
        return oAddress;
    }

    /**
     * @param oAddress String
     */
    public void setoAddress(String oAddress) {
        this.oAddress = oAddress;
    }

    /**
     * @return oDispOrder
     */
    public Integer getoDispOrder() {
        return oDispOrder;
    }

    /**
     * @param oDispOrder String
     */
    public void setoDispOrder(Integer oDispOrder) {
        this.oDispOrder = oDispOrder;
    }

    /**
     * @return oPId
     */
    public String getoPId() {
        return oPId;
    }

    /**
     * @param oPId String
     */
    public void setoPId(String oPId) {
        this.oPId = oPId;
    }

    /**
     * @return oPCode
     */
    public String getoPCode() {
        return oPCode;
    }

    /**
     * @param oPCode String
     */
    public void setoPCode(String oPCode) {
        this.oPCode = oPCode;
    }

    /**
     * @return oDesc
     */
    public String getoDesc() {
        return oDesc;
    }

    /**
     * @param oDesc String
     */
    public void setoDesc(String oDesc) {
        this.oDesc = oDesc;
    }

    public String getRunBrands() {
        return runBrands;
    }

    public void setRunBrands(String runBrands) {
        this.runBrands = runBrands;
    }

    public String getBuildBrands() {
        return buildBrands;
    }

    public void setBuildBrands(String buildBrands) {
        this.buildBrands = buildBrands;
    }

    public String getoAreaSecond() {
        return oAreaSecond;
    }

    public void setoAreaSecond(String oAreaSecond) {
        this.oAreaSecond = oAreaSecond;
    }
}
